package com.qclix.inv.xml;

import java.io.Serializable;

public class XMLInvoiceLine implements Serializable {
	private static final long serialVersionUID = 1L;

    private long id;
    private String description;
    private float quantity;
    private float unitPrice;
    private float vat;
    private int idx;

    public XMLInvoiceLine() {
    }

    public long getId() {
        return id;
    }

    public void setId(long value) {
        this.id = value;
    }

    public int getIdx() {
        return idx;
    }

    public void setIdx(int idx) {
        this.idx = idx;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String value) {
        this.description = value;
    }

    public float getQuantity() {
        return quantity;
    }

    public void setQuantity(float value) {
        this.quantity = value;
    }

    public float getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(float value) {
        this.unitPrice = value;
    }

    public float getVat() {
        return vat;
    }

    public void setVat(float value) {
        this.vat = value;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("Line [");
        builder.append("description=").append(description);
        builder.append(", quantity=").append(quantity);
        builder.append(", unit price=").append(unitPrice);
        builder.append(", vat=").append(vat);
        builder.append("]");
        return builder.toString();
    }
}